package com.siyu.model.dispatch.model.interfaces;


import com.siyu.model.dispatch.dto.DispatchDto;
import com.siyu.model.dispatch.io.FloodDispatchInput;
import com.siyu.model.dispatch.io.FloodDispatchOutput;
import com.siyu.model.dispatch.utils.ReserviorTimeResult;

import java.io.IOException;
import java.util.List;

/**
 * 模型公共接口：白泥河、流溪河、西福河、增江均实现该接口
 * @author xinchan
 * @version 1.0.1 2022-05-01
 */
public interface Model {
    FloodDispatchInput initModel(DispatchDto dispatchDto) throws Exception;

    FloodDispatchOutput calculate(FloodDispatchInput input) throws Exception;
}

